package com.huangliusong.lengthoflongestsubstring;

/**
 * @author huangliusong
 * @since 2019/2/21
 * {@link Solution}
 */
public class DemoTest {
    public static void main(String[] args) {
        String input="abcabcbb";
        Solution solution=new Solution();
        int i1=solution.lengthOfLongestSubstring(input);
        System.out.println("i1:"+i1);

        Solution2 solution2=new Solution2();
        int i2=solution2.lengthOfLongestSubstring(input);
        System.out.println("i2:"+i2);


        Solution3 solution3=new Solution3();
        int i3=solution3.lengthOfLongestSubstring(input);
        System.out.println("i3:"+i3);
    }
}
